package com.chenenjun.dao;

import java.util.List;

import com.chenenjun.vo.Article;
import com.chenenjun.vo.PageBean;
import com.chenenjun.vo.ReArticle;

public interface IArticleDAO {
	public List<Article> queryArticles();
	public PageBean queryAByP(int curPage, int userid);// 通过页码对article进行分页
	public boolean delArticle(int id, int rootid);
	public boolean addArticle(Article a);
	public ReArticle queryArticlesById(int id);// id是主贴的id
}
